var http = require('http');
function sendRequest(){
	var option = {port:8080};
	http.request(option,function(response){
		var serverData='';
		response.on('data',function(chunk){
			serverData+=chunk;
		});
		response.on('end',function(){
			console.log(serverData);
		})
	});
}
for(var i=0;i<10;i++){
	console.log('Send request');
	sendRequest();
}